<%- include('./common/header') %>
<h1>新增笔记</h1>
<div class="container">
    <form method="post" action="http://localhost/add">
        <div class="form-group">
            <label>标题：</label>
            <input type="text" name="title" id="" value="<%=data.title%>">
        </div>
        <div class="form-group">
            <label style="vertical-align: top;">内容：</label>
            <textarea name="content" cols="30" rows="10"><%=data.content%></textarea>
        </div>
        <div class="form-group">
            <button>提交</button>
        </div>
    </form>
</div>

<%- include('./common/footer')%>
